{% extends 'drf21_03/base.html' %}
{% load  customer_filters%}
{% load customer_tags %}
{% load static%}
<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% block student_css%}
        {{block.super}}
          <link rel="stylesheet" href="{% static  'drf21_03/index.css' %}">
    {% endblock%}


</head>
<body>
<h1>
    {% block   content %}

    <div class="title">子模板</div>

      {% for i in user_data %}
         <p>{{ i.username }}--{{ i.age }}---{{ i.sex | to_sex }}</p>
      {% endfor %}
        <div>自定义模板标签-时间 :{% current_time %}</div>
    {% endblock %}
</h1>
</body>

 {% block student_js%}
        {{block.super}}
          <script src="{% static  'drf21_03/index.js' %}"></script>
    {% endblock%}

</html>